/**
 * Copyright (c) 2016-2019 优博信息科技 All rights reserved.
 *
 * https://www.jnyoubo.com
 *
 * 版权所有，侵权必究！
 */

package com.youbo.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.youbo.entity.BrryEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

/**
 *
 *
 * @author macy
 */
@Mapper
public interface BrryDao extends BaseMapper<BrryEntity> {

    HashMap queryByBr(@Param("zyh") String zyh);


    HashMap queryInpatientInfo(@Param("zhy") String zhy);

    List<HashMap> inpatientList();
    List<HashMap> hospitalizationDepositIsLowerThan();
    List<HashMap> queryFyDetails(@Param("zyh") String zyh,@Param("sdate") String sdate,@Param("edate") String edate);



    BrryEntity queryBySfzh(@Param("sfzh") String sfzh);
    BrryEntity queryByZyhm(@Param("zyhm") String zyhm);





}